<?php
$mysqli= new mysqli("localhost","root","root","db_car");
if($mysqli->connect_errno){
    die();
}
$proid=$_GET["proid"];
$proid=(int)$proid;
$result=$mysqli->query("delete from t_car where id={$proid}");
// while($row=$result->fetch_assoc()){
//     $data[]=$row;
// }
$data=$mysqli->affected_rows;
echo $data;
// var_dump($data);